#include <unordered_map>
#include <unordered_set>
#include <iostream>
#include <iomanip>

using namespace std;

int main()
{
    unordered_set<int> un_set {10,3,2,5,9,7,0,9};   // 去除重复元素
    for( auto &p : un_set)
    {
        cout<<p<<endl;                              // 不会裴谞，也不会按照插入顺序输出，而是根据元素的hash
    }

    unordered_map<string, int> un_map {
        {"hello", 25},
        {"world", 56},
        {"lalala", 68},
        {"666", 77}
    };

    for(auto &p : un_map)
    {
        cout << "(" << quoted(p.first) << "," << p.second << ")" << endl;
    }
}